package com.link2room.bumblebee.mnsRunner;

import com.aliyun.mns.model.Message;
import com.link2room.common.mns.Worker;
import org.springframework.stereotype.Component;

/**
 * Created by LN on 2017/9/12.10:15
 */
@Component("testRunner")
public class TestRunner implements Worker{
    @Override
    public boolean exec(Message message) throws Exception {
        System.out.println(message.getMessageBody());
        return true;
    }
}
